home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Events / Event Classes / Window Events / WindowEvent.h < prev   
Encoding:
Text File  |  1997-06-28  |  321 b   |  24 lines  |  [TEXT/CWIE]

  1. // WindowEvent.h
  2.  
  3. #ifndef WindowEvent_h
  4. #define WindowEvent_h
  5.  
  6. #ifndef Event_h
  7. #include "Event.h"
  8. #endif
  9.  
  10. class AbstractWindow;
  11.  
  12. class WindowEvent: public Event
  13.   {
  14.     private:
  15.         AbstractWindow& window;
  16.  
  17.     public:
  18.         WindowEvent( const EventRecord& event );
  19.  
  20.         AbstractWindow& Window() const        { return window; }
  21.   };
  22.  
  23. #endif
  24.